//
//  BookCollectCell.m
//  LiteraryTune
//
//  Created by 神州四达 on 2018/1/15.
//  Copyright © 2018年 cxd. All rights reserved.
//

#import "BookCollectCell.h"

@implementation BookCollectCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
    self.backWhiteView.layer.cornerRadius = 6.f;
    self.backWhiteView.layer.masksToBounds = YES;
}

- (void)setDataModel:(BookListModel *)dataModel {
    _dataModel = dataModel;
    [self.bookImageView sd_setImageWithURL:[NSURL URLWithString:[NSString stringWithFormat:@"%@%@",RootHomeURL,_dataModel.spic]]];
    self.nameLabel.text = _dataModel.news_tit;
//    self.rateLaebl.text = [NSString stringWithFormat:@"已阅读：",_dataModel.news_djs];
}

@end
